package com.example.esp8266.activity.bean;

/**
 * @Author lgd
 * @Date 2024/5/8 14:55
 */
public class ProductInfo {
    private Integer id;
    private String name;
    private String price;
    private String weight;
    private String Total;
    private String type;

    public ProductInfo() {
    }

    public ProductInfo(Integer id, String name, String price, String weight, String Total) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.weight = weight;
        this.Total = Total;
//        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getTotal() {
        return Total;
    }

    public void setTotal(String total) {
        Total = total;
    }

    @Override
    public String toString() {
        return "ProductInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", weight='" + weight + '\'' +
                ", Total='" + Total + '\'' +
                '}';
    }
}
